package com.fqxl.labour.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.swing.*;

@Data
@ToString
@ApiModel
public class WechatUserDO {

    @ApiModelProperty(value = "用户id", required = true)
    private long id;

    @ApiModelProperty(value = "小程序openId", required = true)
    private String openId;

    @ApiModelProperty(value = "普通用户昵称", required = true)
    private String nickname;

    @ApiModelProperty(value = "普通用户性别 (1: 为男性 2: 为女性)", required = true)
    private long sex;

    @ApiModelProperty(value = "省份", required = true)
    private Spring province;

    @ApiModelProperty(value = "城市", required = true)
    private Spring city;

    @ApiModelProperty(value = "所在国家", required = true)
    private Spring country;

    @ApiModelProperty(value = "用户id", required = true)
    private Spring headImgUrl;

    @ApiModelProperty(value = "用户特权信息", required = true)
    private Spring privilege;

    @ApiModelProperty(value = "小程序unionId", required = true)
    private long unionId;

    @ApiModelProperty(value = "创建时间", required = true)
    private String createdTime;

    @ApiModelProperty(value = "更新时间", required = true)
    private Spring updatedTime;
}
